Package com.cisco.pt.ipc.sim.impl
Class CDPNeighborImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.impl.CDPNeighborImpl
- All Implemented Interfaces:
IPCData,CDPNeighbor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetCapability(Byte capability) voidsetCdpVersion(Byte cdpVersion) voidsetDeviceId(String deviceId) voidsetHoldTime(Byte holdTime) voidsetLocalPort(String localPort) voidsetNativeVlan(Short nativeVlan) voidsetPlatform(String platform) voidsetRemotePort(String remotePort) voidsetSoftwareVersion(String softwareVersion) Methods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVector
-
Field Details
-
deviceId
-
localPort
-
remotePort
-
platform
-
capability
-
cdpVersion
-
holdTime
-
softwareVersion
-
nativeVlan
-
-
Constructor Details
-
CDPNeighborImpl
public CDPNeighborImpl()
-
-
Method Details
-
getDeviceId
- Specified by:
getDeviceIdin interfaceCDPNeighbor- Returns:
- String Returns a String
-
setDeviceId
- Specified by:
setDeviceIdin interfaceCDPNeighbor- Parameters:
deviceId- Takes in a parameter of deviceId
-
getLocalPort
- Specified by:
getLocalPortin interfaceCDPNeighbor- Returns:
- String Returns a String
-
setLocalPort
- Specified by:
setLocalPortin interfaceCDPNeighbor- Parameters:
localPort- Takes in a parameter of localPort
-
getRemotePort
- Specified by:
getRemotePortin interfaceCDPNeighbor- Returns:
- String Returns a String
-
setRemotePort
- Specified by:
setRemotePortin interfaceCDPNeighbor- Parameters:
remotePort- Takes in a parameter of remotePort
-
getPlatform
- Specified by:
getPlatformin interfaceCDPNeighbor- Returns:
- String Returns a String
-
setPlatform
- Specified by:
setPlatformin interfaceCDPNeighbor- Parameters:
platform- Takes in a parameter of platform
-
getCapability
- Specified by:
getCapabilityin interfaceCDPNeighbor- Returns:
- Byte Returns a Byte
-
setCapability
- Specified by:
setCapabilityin interfaceCDPNeighbor- Parameters:
capability- Takes in a parameter of capability
-
getCdpVersion
- Specified by:
getCdpVersionin interfaceCDPNeighbor- Returns:
- Byte Returns a Byte
-
setCdpVersion
- Specified by:
setCdpVersionin interfaceCDPNeighbor- Parameters:
cdpVersion- Takes in a parameter of cdpVersion
-
getHoldTime
- Specified by:
getHoldTimein interfaceCDPNeighbor- Returns:
- Byte Returns a Byte
-
setHoldTime
- Specified by:
setHoldTimein interfaceCDPNeighbor- Parameters:
holdTime- Takes in a parameter of holdTime
-
getSoftwareVersion
- Specified by:
getSoftwareVersionin interfaceCDPNeighbor- Returns:
- String Returns a String
-
setSoftwareVersion
- Specified by:
setSoftwareVersionin interfaceCDPNeighbor- Parameters:
softwareVersion- Takes in a parameter of softwareVersion
-
getNativeVlan
- Specified by:
getNativeVlanin interfaceCDPNeighbor- Returns:
- Short Returns a Short
-
setNativeVlan
- Specified by:
setNativeVlanin interfaceCDPNeighbor- Parameters:
nativeVlan- Takes in a parameter of nativeVlan
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Specified by:
readin classIPCDataImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-